<template>
  <el-menu  class="el-menu-demo" align="left"
    background-color="#545c64"
            text-color="#fff"
            active-text-color="#409eff"
            router
            :unique-opened="true"
  >
    <el-submenu index="1">
      <template slot="title">
        <span>信息展示</span>
      </template>
      <el-menu-item index="/student/ShowNews">政策新闻</el-menu-item>
      <el-menu-item index="/student/ShowBaoGuang">曝光台</el-menu-item>
      <el-menu-item index="/student/ShowHuiSheng">督察回声</el-menu-item>
    </el-submenu>
    <el-submenu index="2">
      <template slot="title">
        <span>问题留言</span>
      </template>
      <el-menu-item index="/student/ShowRenmin">人民留言</el-menu-item>
      <el-menu-item index="/student/ShowDanwei">单位留言</el-menu-item>
      <el-menu-item index="/student/Users">用户列表</el-menu-item>
    </el-submenu>
  </el-menu>
</template>

<script>
export default {
  name: "Aside",
  data(){
    return {
      role:sessionStorage.getItem("role")
    }
  }
}
</script>

<style scoped>

</style>
